//
//  mappingViewController.h
//  MoneyLog
//
//  Created by wicresoft on 5/11/11.
//  Copyright 2011 wicresoft. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>

@interface MarkAnnotation : NSObject<MKAnnotation> {
    CLLocationCoordinate2D  coordinate;
    NSString                *title;
    NSString                *subtitle;
}

@property (nonatomic,readonly) CLLocationCoordinate2D  coordinate;
@property (nonatomic,retain)   NSString                *title;
@property (nonatomic,retain)   NSString                *subtitle;


@end

@interface mappingViewController : UIViewController <MKMapViewDelegate,CLLocationManagerDelegate,MKReverseGeocoderDelegate> {
    MKMapView               *_mapView;
    CLLocationCoordinate2D  coordinate;
    
    MarkAnnotation          *mapMark;
}

@property (nonatomic,retain) MKMapView               *_mapView;
@property (nonatomic,assign) CLLocationCoordinate2D  coordinate;

@property (nonatomic,retain) MarkAnnotation          *mapMark;

@end
